import cv2
import numpy as np

img=cv2.imread('CV-Pictures/015.jpg',0)
# new_img=cv2.Laplacian(img,-1)
new_img=cv2.Laplacian(img,cv2.CV_64F)
new_img=cv2.convertScaleAbs(new_img)
cv2.imshow('img',img)
cv2.imshow('new_img',new_img)
cv2.waitKey()
cv2.destroyAllWindows()